/**
 * @file: vscode
 * @author: v_xieyejiang
 * @Date: 2018-12-10 11:28:55
 * @Last Modified by: v_xieyejiang
 * @Last Modified time: 2018-12-10 11:44:24
 */

const {protocol, hostname, port} = window.location;
const PORT = process.env.NODE_ENV === 'development' ? Number(port) + 1 : port;
const packageConf = require('../../package.json');

export default `${protocol}//${hostname}:${PORT}${packageConf.prefix}`;
